package com.hibase.core.page.entity.upload;


import com.hibase.core.page.entity.listxml.ListButtonXmlVO;
import com.hibase.core.page.entity.listxml.ListButtonsXmlVO;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamOmitField;
import lombok.Data;

import java.util.List;

/**
 * 描述:
 *
 * @author TimBrian
 * @date 2021-5-11 16:28:34
 */
@Data
public class UploadLayoutXmlVO {

	//链接下载
	@XStreamAlias("link")
	private UploadLinkXmlVo link;
	
	//上传
	@XStreamAsAttribute
	@XStreamAlias("attachment")
	private UploadUploadXmlVo attachmentList;

	@XStreamAlias("buttons")
	private ListButtonsXmlVO button;

	@XStreamOmitField
	private List<ListButtonXmlVO> buttons;
	
//	@XStreamImplicit(itemFieldName = "attachment")
//	private List<ModuleAttachmentXmlVO> attachmentList;

}
